﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace HomeBuyerTools.Views.GainOnSaleOfHome
{
    public partial class GainResult : PhoneApplicationPage
    {
        public GainResult()
        {
            InitializeComponent();
        }

        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            string ird;
            string ird2;
            NavigationContext.QueryString.TryGetValue("id", out ird);
            NavigationContext.QueryString.TryGetValue("ie", out ird2);
            double ert = Convert.ToDouble(ird);
            double asd = Convert.ToDouble(ird2);
            double sum = ert + asd;
            txtblk.Text = Convert.ToString(sum);


                
        }
    }
}